cURL
curl --request GET \ --url https://app.masivo.ai/api/storefront/v1/customers/{id}/punch-cards \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "customer_id": "<string>", "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "punches": 3, "max_punches": 10, "status": "ACTIVE", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
Get punch cards of a customer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The customer unique identifier in your system
Optional punch card ID to filter results
Ok
The response is of type object.
object